package demo.spring.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

/**
 * Created by lushun.chen on 2017/3/24.
 *
 * @author lushun.chen
 */
public class BeanInit {
    @Bean
    @Scope("prototype")
    public Account account() {
        Account account = new Account();
        return account;
    }
}
